import React from 'react';

class Home extends React.Component {
  constructor(props) {
    super(props);
    this.helloName = 'H!'
  }

  clickHandle() {
    console.log(this);
  }

  render() {
    return (
      <h1 onClick={this.clickHandle.bind(this)}> This is the home Component; {this.helloName}</h1>
    )
  }
}

export default Home;
// http://huziketang.mangojuice.top/books/react/lesson9
// http://scriptoj.mangojuice.top/problems